package com.huaxin.hxcloud.frendcircles;


import com.huaxin.common.frendcircle.bean.CommentItem;

import java.util.List;

/**
 * Created by suneee on 2016/7/15.
 */
public interface CircleContract {

    interface View {
        void update2DeleteCircle(String circleId);

        void update2AddComment(int circlePosition, CommentItem addItem);

        void update2DeleteComment(int circlePosition, String commentId);

        void updateEditTextBodyVisible(int visibility, CommentConfig commentConfig);

        void update2loadData(int loadType, List<CircleItem> datas);
    }

    interface Presenter {
        void loadData(int loadType  ,int questionId);

        void deleteCircle(final String circleId);

        void deleteComment(final int circlePosition, final String commentId);

    }
}
